package jp.co.htkk.form;

import lombok.Getter;
import lombok.Setter;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import io.swagger.v3.oas.annotations.media.Schema;

@Getter
@Setter
public class ${TableName!}RegisterForm {
<#list  columns_remove_ingore as field>
<#if field.isPk=="1">
<#else>
<#if field.javaType=="String">
    @NotBlank
    @Schema(description = "", required = true)
    private ${field.javaType} ${field.columnName!};
<#else >
    @NotNull
    @Schema(description = "", required = true)
<#if field.javaType=="Date">
    private Timestamp ${field.columnName!};
<#else>
    private ${field.javaType} ${field.columnName!};
</#if>
</#if>
</#if>

</#list>

}
